package com.ruoyi.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.page.PageDomain;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.system.domain.BsZhusu;

/**
 * @Description TODO
 * @ClassName BsZhusuService
 * @Author kenn
 * @Version 1.0.0
 * @Date 2023年10月17日 18:19:00
 */
public interface BsZhusuService extends IService<BsZhusu> {

    TableDataInfo<BsZhusu> pageList(PageDomain pageDomain, String name);

    boolean saveEntity(BsZhusu zhusu);

    boolean updateEntity(BsZhusu zhusu);

    boolean delete(Long id);

    /**
     * 根据企业id修改住宿状态
     * @param qiyeId:	企业id
     * @param status:	状态字典value
     * @return: boolean
     * @author: kenn
     * @date: 2023/11/1 9:28
     */
    boolean updateStatusByQiyeId(Long qiyeId, String status);

    AjaxResult<?> export();

}
